package com.lxy.file.entity;

/**
 * @Author lxy
 * @Date 2021/12/28 19:07
 * @Description
 */
public class FileAttribute {

    private String hashcode;
    private String name;
    private Long size;
    private String local;

    public FileAttribute() {
    }

    public FileAttribute(String hashcode, String name,Long size, String local) {
        this.hashcode = hashcode;
        this.name = name;
        this.size = size;
        this.local = local;
    }

    public String getHashcode() {
        return hashcode;
    }

    public void setHashcode(String hashcode) {
        this.hashcode = hashcode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public String getLocal() {
        return local;
    }

    public void setLocal(String local) {
        this.local = local;
    }

    @Override
    public String toString() {
        return "File[" +
                "hashcode='" + hashcode + '\'' +
                ", name='" + name + '\'' +
                ", size=" + size +
                ", local='" + local + '\'' +
                ']';
    }
}
